//
//  CrashManager.h
//  flutter
//
//  Created by GilesZhou on 2020/6/28.
//  Copyright © 2020 Ganee. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "NSArray+Crash.h"
#import "NSString+Crash.h"
#import "NSMutableArray+Crash.h"
#import "CrashModel.h"

NS_ASSUME_NONNULL_BEGIN

@interface CrashManager : NSObject
/// 开启崩溃监测
+ (void)observeCrash;
/// 崩溃信息
void UncaughtExceptionHandler(NSException *exception);
/// 类方法交换
+ (void)exchangeClassMethod:(Class)chClass method1Sel:(SEL)method1Sel method2Sel:(SEL)method2Sel;
/// 对象方法的交换
+ (void)exchangeInstanceMethod:(Class)chClass method1Sel:(SEL)method1Sel method2Sel:(SEL)method2Sel;

@end

NS_ASSUME_NONNULL_END
